module.exports = {
    devServer: {
        host: '127.0.0.1',
        port: 8023,
        client: {
            webSocketURL: 'ws://127.0.0.1:8023/ws',
        },
        proxy: {
            '/api': { 
                target: 'http://localhost:8848', 
                changeOrigin: true,
                ws: true,                
                pathRewrite: {
                    '^/api': ''
                }
            }
        }
    },
    lintOnSave: false // 取消 eslint 验证
}
